package com.sczmgk.hotline_pzh.constants;

public class Constants {

    //    public static String BASE_URL = "http://192.168.1.58:8080/";
//    public static String BASE_URL = "http://101.200.52.218:8080/";
//    public static String BASE_URL = "http://192.168.1.105:9080/";

    public static final String chenzhi =  "http://192.168.0.188:8720/api/v1/";
    public static final String remorte = "http://101.200.52.218:8080/api/v1/";
    public static final String wangqin = "http://192.168.0.183:8088/api/v1/";
    public static final String jiangzhenrong =  "http://192.168.199.194:8088/api/v1/";
    public static final String bobo = "http://192.168.1.58:8080/api/v1/";
    public static final String joygov = "http://www.joygov.com:8010/api/v1/";
    public static final String renhe = "http://renheapp.sczmgk.com:5680/api/v1/";


    public static  String BASE_URL =  "http://renheapp.sczmgk.com:5680/api/v1/";
//    public static  String BASE_URL =  "http://192.168.0.183:8088/api/v1/";
//    public static  String BASE_URL =  "http://192.168.0.188:8720/api/v1/";

    /////////////////////////启动页(是否打开主界面)///////////////////
    public static final String IS_OPEN_MAIN_PAGE_KEY = "is_open_main_page_key";

    /////////////////////////主页///////////////////

    public static final String GET_MAIN_HOME_DATA_URL = "banner/mainhomedata?";

   //////////////////////////用户///////////////////////////
    /**
     * 取得用户协议
     */
    public static final String GET_REGISTRATION_AGREEMENT = "Tidings/AppAgreementResModel?";
    /**
     * 取会话密钥b
     */
    public static final String POST_SESSIONKEYS_URL = "SessionKeys";

    /**
     * 注册
     */
    public static final String POST_REGIST_URL = "Consumers";

    /**
     * 登录
     */
    public static final String POST_LOGIN_URL = "Consumers/LoginInfo";
    /**
     * 修改用户信息
     */
    public static final String POST_UPDATE_USERINFO = "UpdateConsumers";

    /**
     * 修改手机
     */
    public static final String POST_UPDATE_PHONE = "Consumers/UpdatePhone";

    /**
     * 获取环信帐号密码
     */
    public static final String GET_HX_ACCOUNT_URL = "Consumers/GetHuanXinByConsumersId?";

    /**
     * 获取验证码
     */
    public static final String GET_SECURIT_CODE_URL = "VerificationCode";


    /**
     * 验证码登录
     */
    public static final String POST_SECURIT_CODE_LOGIN_URL = "Consumers/VerCodeLogin";

    /***
     * 修改密码
     */
    public static final String POST_CHAGNE_PWD_URL = "Consumers/UpdatePassword";
    /**
     * 验证密码
     */
    public static final String POST_VERIFY_PWD_URL = "Consumers/UpdatePhoneCopmparePwd";
    /**
     * 验证码验证
     */
    public static final String POST_VERIFY_CODE_URL = "Consumers/Validate";
    /**
     * 重置密码
     *
     */
     public static final String POST_RESET_PWD_URL = "Consumers/Password";
      ///////////////////////资讯收藏//////////////////////////
    /**
     * 资讯主页
     */
    public static final String GET_INFORMATIONS_URL = "news/listAllByTemplet?";

    /**
     * 点击更多
     */
    public static final String NEWS_MORE_INFORMATION = "news/list?";
    /**
     * 搜索资讯
     */
    public static final String GET_SEARCH_INFORMATION= "news/listall?";
    /**
     * 获取我的收藏指示器
     */
    public static final String GET_MY_COLLECTION_INDICATOR_URL = "NewsType/TypeList?";

    /**
     * 获取我的收藏数据
     */
    public static final String GET_MY_COLLECTION_URL = "news/listcollect?";

    /**
     * 收藏资讯
     */
    public static final String POST_COLLECTION = "News/addcollect";
    /**
     * 取消收藏
     */
    public static final String POST_DELECT_COLLECTION = "News/deletecollect";


     ///////////////////////智能问答/////////////////////////////////

    /**
     * 批量更新聊天记录(不存在则添加)
     */
    public static final String POST_UPDATE_CHAT_MSGS_URL = "Consumers/uploadchats";
    /**
     * 更新一条聊天记录(不存在则添加)
     */
    public static final String POST_UPDATE_CHAT_MSG_URL = "Consumers/uploadchat";

    /**
     * 获取聊天记录(分页)
     */
    public static final String GET_CHAT_MSG_URL = "Consumers/ChatList?";

    /**
     * 删除聊天记录
     */
    public static final String POST_DELETE_CHAT_MSG_URL = "Consumers/Chat/Remove";



    //////////////////投诉/////////////////////
    /**
     * 获取投诉须知
     */
    public static final String GET_COMPLAINT_NOTES = "Tidings/AppAgreementComModel?";
    /**
     * 提交投诉
     */
    public static final String POST_ADD_COMPLAIN_URL = "Complain/Add";
    /**
     * 获取投诉列表
     */

    public static final String GET_COMPLAINTS_URL = "Complain/List?";
    /**
     * 投诉处理详情步骤Url
     */
    public static final String COMPLAINT_SETTING_DETAIL_STEP_URL = "Complain/StepList?";

    /**
     * 投诉处理详情
     */
    public static final String GET_COMPLAINTS_DETAIL_URL = "Complain/Model?";
    /**
     * 评价投诉
     */
    public static final String POST_COMMENT_COMPLAIN_URL = "Complain/Comment";
    /**
     * 取取消投诉
     */
    public static final String POST_CANCEL_COMPLAIN_URL = "Complain/Cancel";
    /**
     * 取得步骤的详情
     */
    public static final String GET_STEP_DETAILS = "Complain/Step/Model?";
    /**
     * 取得处理意见
     */
    public static final String GET_COMPLAIN_RESULT_URL ="Complain/Detail?";
    /**
     * 删除投诉
     */

    public static final String POST_DELETE_COMPLAIN_URL = "Complain/Delete";
    public static final String GET_COMMENT_DETAIL_URL = "Complain/Comment/Detail?";
    //////////////////////我的消息//////////////////////
    /**
     * 将消息设置成已读
     */
    public static final String POST_MY_MESSAGE_URL = "Tidings/UpdateReader?";

    /**
     * 获取未读消息数量
     */
    public static final String GET_MY_MESSAGE_NUM_URL = "Tidings/NoreadCount?";

    /**
     * 将消息设置成未读(测试用)
     */
    public static final String POST_UPDATE_MESSAGE_URL = "linkrenheUpdateMessage";
    /**
     * 获取我的消息数据
     */
    public static final String GET_MY_MESSAGE_URL = "Tidings/consumersid?";
    /**
     * 删除我的消息
     */
    public static final String POST_DELETE_MSG_URL = "Tidings/DeleteEmployeeEmail";

/////////////////////////////工作//////////////////////////////////////////////
    /**
     * 获取我的工作数据
     */
    public static final String GET_MY_WORK_URL = "Consumers/Worklist?";
   /**
    * 审核投诉
    */
   public static final String POST_CHECK_COMPLAIN = "Consumers/ComplianAudit";

    /**
     * 工作审核
     */
    public static final String GET_WORK_COMPLAIN = "Consumers/WorkModel?" ;

////////////////////////文件相关/////////////////////
    /**
     * 下载文件
     */
    public static final String GET_DOWNLOAD_FILE_URL =  "Files?filename=";
    public static final String POST_UPLOD_FILE_URL = "Files?";
/////////////////////////////url end////////////////////////

    /**
     * 资讯主页点击更多传递的类型
     */
    public static final String MORE_NEWS_TYPE = "more_news_type";

    /**
     * 资讯主页点击更多传递的标题
     */
    public static final String MORE_NEWS_TITLE = "more_news_title";


    /**
     * 是否已登录
     */
    public static final String IS_LOGIN_KEY = "islogin";

    /**
     * 预约坐标
     */
    public static final String APPOINTMENT_COORD_KEY = "appointment_coord_key";

    /**
     * 是否断开网络
     */
    public static final String IS_DISCONNECTION_NETWORK = "is_disconnection_network";


    public static final String SERVICE_PUBLIC_KEY = "8D219C38AD1407F46C12H8I1";

    //    public static String MSC_APPID = "55c81c80";//自已的帐号,Appid与SDK一一对应的，重新申请了Appid,需要msc.jar,libmsc.so.里面的资源文件也要替换，不然会出现10407错误
    public static final String MSC_APPID = "5695f41e ";//公司的帐号

    /**
     * 上报手机串号,手机型号,平台
     */
    public static final String POST_CONSUMERS_IMEI = "Consumers/imei";

    /**
     * 存入使用时间的key
     */
    public static final String LAST_USE_DATA = "Last_use_data";

    /**
     * 登录用户UID
     */
    public static final String LOGIN_UID = "loginUid";

    /**
     * 登录的用户名
     */
    public static final String LOGIN_USER_NAME = "login_user_name";

    /**
     * 热线电话
     */
    public static final String HOTLINE_KEY = "hotline_key";

    /***
     * 上传异常日志
     */
    public static final String POST_UPLOAD_EXCEPTIOIN_LOG = "Files/AddException";


    /**
     * 新闻条目点击
     */
    public static final String NEWS_DETAIL_ITEM = "news_detail_item";

    /**
     * 我的消息的消息集合
     */
    public static final String MESSAGE_DETAIL = "message_detail";

    /**
     * 我的工作的消息集合
     */
    public static final String WORK_DETAIL = "work_detail";

    /**
     * 我的消息 和 我的工作跳转传递的Flags
     */
    public static final int MY_WORK_FLAGES = 202;
    /**
     * 我的工作
     */
    public static final String WORK_TYPE_DETAIL = "work_type_detail";

    /**
     * 我的工作Handle发送的消息
     */
    public static final int MY_WORK_HANDLE_FLAG = 203;

    /**
     * 注册传递的电话号码和验证码
     */
    public static final String REGIST_PHONE_NUMBER = "regist_phone_number";
    public static final String REGIST_KEY = "regist_key";

    /**
     * 修改手机号修改成功后的回调
     */
    public static final int CHANGE_PHONE_SUCCESS = 101;

//    /**
//     * 收藏界面点击条目传递的标识
//     */
//    public static final int MY_COLLECTION_FLAG_INFO = 201;
//    public static final String MY_COLLECTION_FLAG = "my_collection_flag";

    /**
     * 退出登录时发送的消息
     */
    public static final int LOGIN_OUT_CHANGE_DATA = 301;
    /////////////////////////图片关联模块//////////////////////
//    [1000] => 新闻
//    [1002] => 员工
//    [1003] => 用户
//    [1004] => 栏目
//    [1005] => 广告
//    [1006] => banner
//    [1007] =>投诉
    public static final int PIC_MODULE_USER = 1003;
    public static final int PIC_MODULE_COMPLAIN = 1007;
    public static final int AUDIO_MODULE_COMPLAIN = 1008;
    public static final int VIDEO_MODULE_COMPLAIN = 1009;


    /**
     * 修改手机输入的密码传递的标识
     */
    public static final String CHANGE_PHONE_PWD = "change_phone_pwd";

    /**
     * 在线投诉中点击我的投诉传递的Flag值
     */
    public static final int ONLINE_COMPLAINT_FLAG = 450;

    /**
     * 在线投诉中点击我的投诉传递的flag标签名字
     */
    public static final String ONLINE_COMPLAINT_FLAG_NAME = "online_complaint_flag_name";

    /**
     * 点击在线投诉传递的请求码
     */
    public static final int ONLINE_COMPLAINT_REQUEST_CODE = 320;
    public static final String COMPLAIN_INFO_KEY = "complain_info_key";
    public static final String COMOLAIN_STEP_INFO_KEY = "comolain_step_info_key";

    public static final String BANNER_DETAIL_INFO = "banner_detail_info";


    public static final int STATUS_WAITING_PROCESS = 1;
    public static final int STATUS_WAITING_CHECK = 2;
    public static final int STATUS_PROCESSING = 3;
    public static final int STATUS_WAITING_EVALUTE = 4;
    public static final int STATUS_EVALUTED = 5;
    public static final int STATUS_CANCEL = 6;
    public static final int STATUS_WAITING_PRETREATMENT = 7;
    public static final int STATUS_PRETREATMENTED = 8;
    public static final int STATUS_PRETREATMENT_FAIL = 9;


    public static final int CHECK_COMPLAINT_VIEW = 342;

    public static final String SELECT_AREA = "select_area_des";

    public static final int COMPLAINT_REQUEST_CODE = 555;
    public static final String SELECTED_PIC_LIST = "selected_pic_list";

    public static final int PERSONAL_ADDRESS_INFO = 456;
    public static final int PERSONAL_EMAIL_INFO = 457;

    public static final int REQUEST_CODE_CHANGE_PWD = 230;

    /**
     * 搜索模块标题
     */
    public static final String SEARCH_MODULE_TITLE = "search_module_title" ;

}